<?php

namespace app\api\service\pay;

abstract class PaySuccess
{
    /**
     * @param array $payment
     * @param int $payType
     * @return mixed
     */
    abstract public function onSuccess(array $payment, int $payType);

    /**
     * 付款成功处理
     * @return mixed
     */
    abstract public function callSuccess();
}